extends "../nvzaoshen-1/nvzaoshen-1.gd"

func _extInit():
	._extInit()
	lv = 2
	addSkill("每{cd}秒随机恢复一名非满血友军[雷击*3]的生命值(可暴击)", "随缘治疗", "syzl", 6)

func _castCdSkill(id):
	._castCdSkill(id)
	if id == "syzl":
		syzl()

func syzl():
	var chas = getAllChas(2)
	chas.shuffle()
	for i in chas:
		healCha(i, att.mgiAtk * 3, true)
		break